﻿@using Emoney.UserTraining.Model;
@using Emoney.UserTraining.Comm;
@{
    ViewBag.Title = "alltrain";
    Layout = "~/Views/Shared/_TrainLayout.cshtml";
}
@{
    var lst = (List<Traning_NetworkMeeting>)ViewData["lst"];
    var uid = ViewBag.uid;
    }
<div id="menuflag" style="display:none">1</div> <!--菜单切换效果使用-->
<div class="content">
	<div class="alltrain">
		<div class="title"><span class="red fw">·本月全部课程</span></div>
		<div class="btn"><a href="@Url.Content("~/Train/wltrain?uid="+uid)">返回首页</a></div>
		<div  id="divAlltrainDetail">
		</div>
        
	</div>
</div>

<script>
    $(function () {
        var strpage = getQueryStringByName("page");
        var uid = "@ViewBag.uid";
        reloadRef("alltrainDetail?page=" + strpage + "&uid=" + uid, "divAlltrainDetail");
    });
    function getQueryStringByName(name){
        var result = location.search.match(new RegExp("[\?\&]" + name+ "=([^\&]+)","i"));
        if(result == null || result.length < 1){
            return "";
        }
        return result[1];
    }
</script>
